
/**
 * @Author:Star
 * @Date:Created in 13:43 2019/5/12
 * @Description:
 */
public class baseFood {
    // 类别
    protected String kind;
    // 数量
    protected int num;
    // 价格
    protected float price;
    //找零
    // 合计
    public float totalPrice()
    {
        return this.num * this.price;
    }
}